<template>
  <div class="container" v-if="show">
    <el-button @click="ev">123</el-button>
    <el-card class="card99" style="width: 600px;min-height: 300px">
      <div style="color: #ffffb8;text-align: center;font-size: 20px;padding: 10px">提示</div>
      <div style="position: absolute;right: 0;color: white;top: 0;padding: 10px;font-size: 20px"><i class="el-icon-circle-close"></i> </div>
      <el-divider class="d1"></el-divider>
      <el-card style="background-color: rgba(255,255,255,0);border-color: rgba(255,255,255,0);height: 200px;display: flex;justify-content: center;align-items: center;">
        <div style="text-align: center;padding: 30px;color: white;font-size: 18px;">是否删除数据？</div>
      </el-card>

      <div style="position: absolute;width: 100vw;bottom: 0;">
        <div >
          <el-divider class="d2"></el-divider></div>
        <div style="padding-top: 10px;padding-bottom:10px;width: 600px;padding-left: 100px">
          <el-button size="mini" style="border-radius: 20px 20px 20px 20px;width: 195px;background-color: #ffffb8" @click="show=false"><i class="el-icon-circle-close"></i> 取消</el-button>
          <el-button size="mini" style="border-radius: 20px 20px 20px 20px;width: 195px;background-color: #ff5151;border-color: #ff5151;color: white"><i class="el-icon-circle-check"></i> 确定</el-button>
        </div>
      </div>
    </el-card>
    <div class="mask" ></div>
  </div>
</template>
<script>
export default {
  data(){
    return{
      show:true
    }
  },
  methods:{

  }
}
</script>
<style scoped>
>>> .el-divider {
  background-color: #888a8f!important;
}
>>> .el-button--mini {
  font-size: 17px!important;
}
.d2{
  margin-top:0px ;
  margin-bottom: 0px;
  margin-left: 60px;
  width: 480px;
}
.d1{
  margin: 0px 0px 0px 10%;
  width: 80%;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 设置容器高度为视口高度，以使卡片垂直居中 */
}
>>>.el-card__body {
  padding: 0!important;
}
.card99{
  background-color: #474750;
  background-size: cover;
  background-position: center;
  position: fixed;
  border-color: #474750;
  z-index: 10000;
}
.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.63);
  z-index: 9998;
}
</style>
